package cn.bs.busuo.passport.service;

import cn.bs.busuo.passport.pojo.param.UserLoginInfoParam;
import cn.bs.busuo.passport.pojo.vo.UserLoginResultVO;
import cn.bs.busuo.common.pojo.authentication.CurrentPrincipal;

public interface IUserService {
    /**
     * 用户登录
     */
    UserLoginResultVO login(UserLoginInfoParam userLoginInfoParam, String remoteAddr, String userAgent);
    /**
     * 登出当前用户
     */
    void logout(CurrentPrincipal currentPrincipal);

}
